package com.ehome.poct.base.api.virtual.log;

import com.ehome.core.service.CrudService;
import com.ehome.poct.base.api.dto.log.LogUploadCallbackDTO;
import com.ehome.poct.base.api.dto.log.SyncLogCallbackDTO;
import com.ehome.poct.base.api.dto.log.TestDeviceSyncLogRecordDTO;

import java.util.List;

/**
 * 设备日志同步记录表Service
 *
 * @author 路飞
 * @Date 2021-12-22 11:26
 */
public interface TestDeviceSyncLogRecordService extends CrudService<TestDeviceSyncLogRecordDTO> {

    SyncLogCallbackDTO getSyncLogRecord(String sno);

    void syncLogCallback(SyncLogCallbackDTO dto);

    void logUploadCallback1(LogUploadCallbackDTO dto);

    void logUploadCallback2(LogUploadCallbackDTO dto);

    TestDeviceSyncLogRecordDTO batchInsertSyncLog(List<TestDeviceSyncLogRecordDTO> list);
}
